﻿@model Int32
<div>
    @Html.AuthorityHtmlTags(OperatorAuthority.Read,
    @<span>
        @Html.ActionLink("查看", "Details", new { id = Model })
    </span>)

    @Html.AuthorityHtmlTags(OperatorAuthority.Add,
    @<span>
        @Html.ActionLink("添加", "Create")
    </span>)

    @Html.AuthorityHtmlTags(OperatorAuthority.Modify,
    @<span>
        @Html.ActionLink("修改", "Edit", new { id = Model })
    </span>)

    @Html.AuthorityHtmlTags(OperatorAuthority.Deleted,
    @<span>
        @Html.ActionLink("删除", "Delete", new { id = Model })
    </span>)

    @Html.AuthorityHtmlTags(OperatorAuthority.Approved,
    @<span>
        @Html.ActionLink("审批", "Approve", new { id = Model })
    </span>)
</div>
